package class_25_孟帅.第一次作业;

public class shuixianhua {
    public static void main(String[] args) {
        for (int i = 100; i <1000 ; i++) {
            //十位数
            int a=i%100/10;
            //个位数
            int b=i%10;
            //百位数
            int c=i/100;
            if(i==a*a*a+b*b*b+c*c*c){
                System.out.println(i);
            }
        }
    }
}
